<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:extpoint="http://www.ruijie.com.cn/faces/extension">
<head>
<title>#{propertiesAccessor.getProperty('ruijie.project')}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="shortcut icon" href="${ctx}/favicon.ico"/>
<link rel="stylesheet" href="security/css/ITSMloginArea.css"
	type="text/css" />
<style type="text/css">
body {
	background-color: #516FAF;
}

.STYLE1 {
	color: #FFFFFF
}

.STYLE2 {
	color: #f60b1d
}
</style>
<script type="text/javascript">	
	if (self.location != top.location) {
		top.location = self.location;
	}
</script>
</head>
<body leftmargin="0" topmargin="0">
<form method="post"
		action="${facesContext.externalContext.requestContextPath}/j_spring_security_check">
	<table width="100%" border="0" cellpadding="0" cellspacing="0"
		background="security/images/beijing01.jpg">
		<tr>
			<td height="616" valign="top">
			<div align="center">
			<table width="1024" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td height="634">
					<table width="100%">
						<tr>
							<td width="38%" height="200"></td>
							<td width="27%"></td>
							<td width="35%"></td>
						</tr>
						<tr>
							<td height="56"></td>
							<td>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td align="right" height="30">
									<p class="text12 STYLE1"><strong>#{messages.ruijie_security_username}</strong></p>
									</td>
									<td><input type="text" name="j_username"
										style="width: 150px;"
										value="${sessionScope['SPRING_SECURITY_LAST_USERNAME']}" /></td>
								</tr>
								<tr>
									<td align="right" height="30">
									<p class="text12 STYLE1"><strong>#{messages.ruijie_security_password}</strong></p>
									</td>
									<td><input type="password" name="j_password"
										style="width: 150px;" /></td>
								</tr>
							</table>
							</td>
							<td><h:commandButton image="security/images/enter.gif" /></td>
						</tr>
						<tr>
							<td height="45"></td>							
							<td align="center"><c:if test="${not empty SPRING_SECURITY_LAST_EXCEPTION}">
								<img src="security/images/tis.gif" width="14" height="14" />
								<span class="text10 STYLE2">${SPRING_SECURITY_LAST_EXCEPTION.message}</span>
							</c:if> </td>
							<td></td>
							
						</tr>
						<tr>
							<td height="56"></td>
							<td></td>
							<td></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			</div>
			</td>
		</tr>
	</table>
	</form>
</body>
</html>

